package com.example.myfirstapp;
import android.widget.TextView;
import android.app.Activity;

public class Score extends Activity {
	public int scale;
	public int score;
	
	public Score () {
		score = 0;
		scale = 1;
	}
	
	public void update () {
		score += scale;
		updateScale();
	}
	
	// We can make this more robust based on timestamps... maybe pass in something related to the time
	private void updateScale () {
		scale += 1;
	}
	
	public void display () { // function display outputs the textView option
		TextView tv = (TextView) findViewById(R.id.textViewScore);
		tv.setText ("Score" + score);
	}
	
}
